<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>039-if-else.html</title>
</head>
<body>
	
</body>
<script>
	var a = 10;
	/*
	if(a == 1){
		alert("true 1");
	}else if(a == 2){
		alert("true 2");
	}else if(a == 3){
		alert("true 3");
	}else if(a == 4){
		alert("true 4");
	}else{
		alert("true")
	}
	*/
/*
	if(a == 1){
		alert("true");
	}else{
		alert("false");
	}
*/
	if(a == 1){
		alert(a);
	}
</script>
</html>